#pragma once
#include "afxdtctl.h"
#include "afxwin.h"


// CDlgUserClean dialog

class CDlgUserClean : public CDialog
{
	DECLARE_DYNAMIC(CDlgUserClean)

public:
	CDlgUserClean(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgUserClean();

// Dialog Data
	enum { IDD = IDD_DLG_USER_CLEAN };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCheckLastdate();
	afx_msg void OnBnClickedCheckOnlinetime();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
	virtual BOOL OnInitDialog();
	void OutputInfo(CString strInfo);
	void GetTBUserList(ITBUsers& tbUsers);
	void GetAllSoftwareUser();
	bool IsOnlyVTAccount(ITraderKeyExs tbUserTraders);
	IMachineGroupSets machineGroupSets;
	CDateTimeCtrl m_ctlLastDate;
	long m_longOnLineTime;
	ITBUsers AlltbUsers;
	bool bdatetime;
	bool bonlinetime;
	bool bonlyVT;
	bool bquoteSel;
	CString strQuoteSel;
	CTime lastDate;
	afx_msg void OnBnClickedCheckOnlyVt();
	CComboBox m_comboQuoteSet;
	afx_msg void OnBnClickedCheckQuotegroup();
	afx_msg void OnCbnSelchangeCombo1();
};
